package cn.getech.data.development.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实时任务告警发送告警的记录表
 * </p>
 *
 * @author hujz
 * @since 2021-04-08
 */
@Data
@Accessors(chain = true)
@TableName("bdp_real_task_alarm_send_log")
public class BdpRealTaskAlarmSendLog implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 告警id
     */
    @TableField("alarm_id")
    private Integer alarmId;

    /**
     * 实时任务对应的菜单id
     */
    @TableField("real_task_menu_id")
    private Integer realTaskMenuId;

    /**
     * 触发条件 0：失败
     */
    @TableField("trigger_condition")
    private Integer triggerCondition;

    /**
     * 是否已删除 0：未删除，1已删除
     */
    @TableField("is_delete")
    private Integer isDelete;

    /**
     * 是否发送 0：未发送 1：已发送
     */
    @TableField("is_send")
    private Integer isSend;

    /**
     * 发送的报警消息
     */
    @TableField("send_msg")
    private String sendMsg;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @TableField("create_per")
    private Integer createPer;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;


}
